<%= semantic_form_for(@group) do |form| %>
  <% if @group.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@group.errors.count, "error") %> prohibited this group from being saved:</h2>

      <ul>
      <% @group.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>
<div class="form-left">
	<%= form.inputs "Group detail" , :class=>"detail-form" do %>
		<%= form.input :name , :required => true , :input_html => { :disabled => @read_only }%>
		<%= form.input :description , :required => true , :input_html => { :disabled => @read_only }%>
	<% end %>
</div>
<%unless @read_only %>
	<%= form.commit_button %>
<% end %>
<% end %>
